import pymongo

conn = pymongo.MongoClient(host="114.55.143.174", port=27017)
# conn = pymongo.MongoClient(host="116.62.107.223", port=27017)
db_auth = conn.admin
db_auth.authenticate("mongoAdmin","test1@3$")
db = conn["uaa"]
result = db["users"].find().count()
print result
